package com.swind.fast.modules.app.halali.partner.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import com.swind.fast.common.system.vo.DictModel;
import com.swind.fast.modules.app.halali.partner.entity.MealCategory;
import com.swind.fast.modules.app.halali.partner.entity.Restaurant;
import com.swind.fast.modules.app.halali.partner.entity.RestaurantMeal;
import com.swind.fast.modules.app.halali.partner.entity.RestaurantMealDeal;
import com.swind.fast.common.aspect.annotation.Dict;

import lombok.Data;
import java.util.List;

/**
 * 首页数据
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="套餐数据", description="")
public class DealVo {
    @ApiModelProperty(value = "餐品ID", required = true)
    private String id;

    @ApiModelProperty(value = "餐品类别")
    @Dict(dictTable ="halali_restaurant_category", dicText = "title", dicCode = "id")
    private String restaurantCategoryId;

    @ApiModelProperty(value = "图片")
    private String pic;

    @ApiModelProperty(value = "名称")
    private String title;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "价钱")
    private Double price;

    @ApiModelProperty(value = "是否上下架")
    private Boolean inStock;

    @ApiModelProperty(value = "Tax")
    private Double tax;

    @ApiModelProperty(value = "Packing Fee")
    private Double packingFee;

    @ApiModelProperty(value = "餐品")
    private List<DealItemVo> items;

    @ApiModelProperty(value = "餐品数组")
    private List<String> categoryIds;
}